package Modellayer;

/**
 *
 * @author bruhn
 */
public class Supplier {

    private String name;
    private String address;
    private String email;
    private int phoneno;
    private int supplierID;
	private String country;

    public Supplier()
    {
    }

	public Supplier(int ID)
	{
		supplierID = ID;
	}
    public Supplier(String name, String address, String email, int phoneno, String country)
    {
        this.name = name;
        this.address = address;
        this.email = email;
        this.phoneno = phoneno;
		this.country = country;
    }

	public Supplier (Supplier supplier)
	{
		name = supplier.getName();
		address = supplier.getAddress();
		email = supplier.getEmail();
		phoneno = supplier.getPhoneno();
		country = supplier.getCountry();
		supplierID = supplier.getSupplierID();
	}
	public void setSupplierID(int supplierID)
	{
		this.supplierID = supplierID;
	}

    public int getSupplierID()
    {
        return supplierID;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

	public String getCountry()
	{
		return country;
	}

	public void setCountry(String country)
	{
		this.country = country;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

    public int getPhoneno() {
        return phoneno;
    }

    public void setPhoneno(int phoneno) {
        this.phoneno = phoneno;
    }

}
